package example;

import java.io.File;
import java.io.Serializable;

/**
 * 支绍昆 2018/10/12 0012
 */
public class FileUpload implements Serializable {

    private static final long serialVersionUID = -7918633957234926093L;

    private File file;  //文件
    private String name;
    private int starPos;    //开始位置
    private byte[] bytes;   //字节
    private int endPos;     //结束位置

    public File getFile() {
        return file;
    }

    public void setFile(File file) {
        this.file = file;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStarPos() {
        return starPos;
    }

    public void setStarPos(int starPos) {
        this.starPos = starPos;
    }

    public byte[] getBytes() {
        return bytes;
    }

    public void setBytes(byte[] bytes) {
        this.bytes = bytes;
    }

    public int getEndPos() {
        return endPos;
    }

    public void setEndPos(int endPos) {
        this.endPos = endPos;
    }
}
